<form name="selectPopForm2">
    <div class="form-group">
        <div class="col-md-12 form-item">
            <div class="col-sm-3 col-md-3 form-title"><span style="color:red;">*</span>年份：</div>
            <div class="col-sm-8 col-md-8 form-input"
                 ng-class="{ 'has-error' :  selectPopForm.year.$dirty && selectPopForm.year.$invalid}">
                <select name="year"
                        class="form-control"
                        ng-model="selectModel.data.year">
                    <option ng-repeat="year in selectModel.data.yearList ">{{year}}</option>
                </select>
            </div>
        </div>
        <div class="col-md-12 form-item">
            <div class="col-sm-3 col-md-3 form-title"><span style="color:red;">*</span>月份：</div>
            <div class="col-sm-8 col-md-8 form-input"
                 ng-class="{ 'has-error' :  selectPopForm.month.$dirty && selectPopForm.month.$invalid}">
                <select name="month"
                        class="form-control"
                        ng-model="selectModel.data.month">
                    <option value="1">01</option>
                    <option value="2">02</option>
                    <option value="3">03</option>
                    <option value="4">04</option>
                    <option value="5">05</option>
                    <option value="6">06</option>
                    <option value="7">07</option>
                    <option value="8">08</option>
                    <option value="9">09</option>
                    <option value="10">10</option>
                    <option value="11">11</option>
                    <option value="12">12</option>
                </select>
            </div>
        </div>
    </div>
</form>
